module.exports = {
  map: false,
  plugins: {
    autoprefixer: {},
    "postcss-pxtorem": {
      rootValue: 16,
      unitPrecision: 5,
      propList: ["*"],
      selectorBlackList: [],
      replace: true,
      mediaQuery: false,
      minPixelValue: 0,
      exclude: function (file) {
        const reg = /node_modules\/(?!unocss|element-plus)/i;
        return reg.test(file);
      }
    }
  }
};
